package com.ruoyi.enterprise.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 排污许可证对象 sewage_permit
 * 
 * @author yxf
 * @date 2021-09-14
 */
public class SewagePermit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 排污许可证ID */
    private Long swId;

    /** 排污许可证发证日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排污许可证发证日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date swCertificateDate;

    /** 排污许可证有效日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排污许可证有效日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date swEffectiveDate;

    /** 排污许可证正本 */
    @Excel(name = "排污许可证正本")
    private String swOriginal;

    /** 排污许可证副本 */
    @Excel(name = "排污许可证副本")
    private String swOriginalCopy;

    /** 排污许可证类型 */
    @Excel(name = "排污许可证类型")
    private String swType;

    /** 排污许可证发证机关 */
    @Excel(name = "排污许可证发证机关")
    private String swLicenseIssuingAgencies;

    /** 许可证编号 */
    @Excel(name = "许可证编号")
    private String swCode;

    /** 排污许可证种类 */
    @Excel(name = "排污许可证种类")
    private String swZl;

    /** 企业ID */
    @Excel(name = "企业ID")
    private Long epId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setSwId(Long swId) 
    {
        this.swId = swId;
    }

    public Long getSwId() 
    {
        return swId;
    }
    public void setSwCertificateDate(Date swCertificateDate) 
    {
        this.swCertificateDate = swCertificateDate;
    }

    public Date getSwCertificateDate() 
    {
        return swCertificateDate;
    }
    public void setSwEffectiveDate(Date swEffectiveDate) 
    {
        this.swEffectiveDate = swEffectiveDate;
    }

    public Date getSwEffectiveDate() 
    {
        return swEffectiveDate;
    }
    public void setSwOriginal(String swOriginal) 
    {
        this.swOriginal = swOriginal;
    }

    public String getSwOriginal() 
    {
        return swOriginal;
    }
    public void setSwOriginalCopy(String swOriginalCopy) 
    {
        this.swOriginalCopy = swOriginalCopy;
    }

    public String getSwOriginalCopy() 
    {
        return swOriginalCopy;
    }
    public void setSwType(String swType) 
    {
        this.swType = swType;
    }

    public String getSwType() 
    {
        return swType;
    }
    public void setSwLicenseIssuingAgencies(String swLicenseIssuingAgencies) 
    {
        this.swLicenseIssuingAgencies = swLicenseIssuingAgencies;
    }

    public String getSwLicenseIssuingAgencies() 
    {
        return swLicenseIssuingAgencies;
    }
    public void setSwCode(String swCode) 
    {
        this.swCode = swCode;
    }

    public String getSwCode() 
    {
        return swCode;
    }
    public void setSwZl(String swZl) 
    {
        this.swZl = swZl;
    }

    public String getSwZl() 
    {
        return swZl;
    }
    public void setEpId(Long epId) 
    {
        this.epId = epId;
    }

    public Long getEpId() 
    {
        return epId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("swId", getSwId())
            .append("swCertificateDate", getSwCertificateDate())
            .append("swEffectiveDate", getSwEffectiveDate())
            .append("swOriginal", getSwOriginal())
            .append("swOriginalCopy", getSwOriginalCopy())
            .append("swType", getSwType())
            .append("swLicenseIssuingAgencies", getSwLicenseIssuingAgencies())
            .append("swCode", getSwCode())
            .append("swZl", getSwZl())
            .append("epId", getEpId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
